import { Label, _decorator, find } from 'cc';
import XItemRenderer from '../../core/list/XItemRenderer';
const { ccclass, property } = _decorator;

@ccclass('ItemGrid')
export class ItemGrid extends XItemRenderer<string> {

    protected dataChanged(): void {
        find("txtNumber", this.node).getComponent(Label).string = this.data;
    }

}
